<%@ tag body-content="empty" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ attribute name="path" required="true" %>

<spring:bind path="${path}">
	<c:if test="${error == null }">
		<c:if test="${status.errors.errorCount > 0}">
	       	<div id='errorExplanation'><ul>
	       	<c:forEach var="errorMessage" items="${status.errorMessages}">
	        	<li>${errorMessage}</li>
	        </c:forEach>
	        </ul></div>
		</c:if>
	</c:if>
</spring:bind>